package com.slofzx.nuoda.evaluation.version.dto;


import com.slofzx.nuoda.common.dto.PageDTO;

import java.util.Set;

/**
 * 评价任务计算参数数据传递类
 *
 * @author nuoda
 * @since 2021-11-19 15:56:00
 */
public class BatchComputeDTO extends PageDTO {
    private static final long serialVersionUID = -41865749690598112L;
    /**
     * 数据id
     */
    private String id;

    /**
     * 评价任务id
     */
    private String batchId;
    /**
     * 名称
     */
    private String name;
    /**
     * 附加评价方法 subtract:对减法
     */
    private String extraEvaluateMethod;
    /**
     * 评价模型ID
     */
    private String modelId;

    private String quality;
    /**
     * 备注
     */
    private String remark;
    /**
     * 类型
     */
    private String type;

    /**
     * 是否截断
     */
    private boolean cutoff;


    /**
     * 过滤项目
     */
    private Set<String> filterProjectSet;


    /**
     * 是否拉齐计算
     */
    private boolean costPull;


    public BatchComputeDTO() {
        //默认查询不分页
        this.pageSize = PageDTO.ALL;
    }

    public String getQuality() {
        return quality;
    }

    public void setQuality(String quality) {
        this.quality = quality;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getModelId() {
        return modelId;
    }

    public void setModelId(String modelId) {
        this.modelId = modelId;
    }


    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }


    public boolean isCutoff() {
        return cutoff;
    }

    public void setCutoff(boolean cutoff) {
        this.cutoff = cutoff;
    }

    public Set<String> getFilterProjectSet() {
        return filterProjectSet;
    }

    public void setFilterProjectSet(Set<String> filterProjectSet) {
        this.filterProjectSet = filterProjectSet;
    }

    public String getExtraEvaluateMethod() {
        return extraEvaluateMethod;
    }

    public void setExtraEvaluateMethod(String extraEvaluateMethod) {
        this.extraEvaluateMethod = extraEvaluateMethod;
    }


    public boolean isCostPull() {
        return costPull;
    }

    public void setCostPull(boolean costPull) {
        this.costPull = costPull;
    }

    public String getBatchId() {
        return batchId;
    }

    public void setBatchId(String batchId) {
        this.batchId = batchId;
    }

    @Override
    public String toString() {
        return "ComputeVersionDTO{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", extraEvaluateMethod='" + extraEvaluateMethod + '\'' +
                ", modelId='" + modelId + '\'' +
                ", remark='" + remark + '\'' +
                ", type='" + type + '\'' +
                ", cutoff=" + cutoff +
                ", filterProjectSet=" + filterProjectSet +
                ", costPull=" + costPull +
                ", pageNo=" + pageNo +
                ", pageSize=" + pageSize +
                ", count=" + count +
                '}';
    }
}
